﻿@model IEnumerable<AuditModel.Score>

@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            ExpertJudgeSerialNumber
        </th>
        <th>
            Archive
        </th>
        <th>
            MaterialScore
        </th>
        <th>
            InstructionScore
        </th>
        <th>
            DefenseScore
        </th>
        <th>
            OtherScore
        </th>
        <th>
            Comment
        </th>
        <th>
            CommentFile
        </th>
        <th>
            SubmitTime
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.ExpertJudgeSerialNumber)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Archive.ID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.MaterialScore)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.InstructionScore)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DefenseScore)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.OtherScore)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Comment)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CommentFile)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.SubmitTime)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.ID }) |
            @Html.ActionLink("Details", "Details", new { id=item.ID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.ID })
        </td>
    </tr>
}

</table>
